package one.bugu.zookeeper.rpc.framework.annotations;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

/**
 * Created with IntelliJ IDEA.
 * User: LangK
 * Created Date 2019/2/11
 * Time: 15:04
 * Description:
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface RpcService {
    

    /**
     * 服务端名称
     * * 必填
     */
    @AliasFor("value")
    String name() default "";

    /**
     * default name
     */
    @AliasFor("name")
    String value() default "";





}
